cmake_minimum_required(VERSION 3.5.1)

add_library( public_road_planner  public_road_planner.cc )
target_link_libraries( public_road_planner
cyber::log
planning_proto
common::status
common::vehicle_state_provider
common_proto
common::util
planning_constraint_checker_module
cyber::time
cyber::duration
cyber::rate
cyber::timer
common::factory
map::hdmap
planning_common_module
planning::quartic_polynomial_curve1d
planning_reference_line_module
planning::qp_spline_reference_line_smoother
planning::planning_gflags
task
path_decider
speed_decider
path_optimizer
speed_optimizer
planner
path_time_heuristic_optimizer
)

install(TARGETS public_road_planner
        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )